 
 
 <!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title></title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width">

        <link rel="stylesheet" href="css/bootstrap.min.css">
        <style>
            body {
                padding-top: 60px;
                padding-bottom: 40px;
            }
        </style>
        <link rel="stylesheet" href="css/bootstrap-responsive.min.css">
        <link rel="stylesheet" href="css/main.css">
        <link href="${pageContext.request.contextPath}/css/epubopzczm55fn4cqrgb14a1c.css?dataUri=true" type="text/css" rel="stylesheet">
		<link href="${pageContext.request.contextPath}/css/cqjtvthoh24nrgx54w13elnqm.css?dataUri=true" type="text/css" rel="stylesheet">
		
		<script src="js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
		
        <script type="text/javascript">
    	function validate()
    	{
			var msg = "Sorry, incorrect input.\n\n"; 
    		var username = document.getElementsByName("username")[0];
    		var password = document.getElementsByName("password")[0];
    		var repassword = document.getElementsByName("repassword")[0];
    		var telephone = document.getElementsByName("telephone")[0];
    		var address = document.getElementsByName("address")[0];
    		var email = document.getElementsByName("email")[0];
    		
    		var usern = /^[a-zA-Z0-9_]{1,}$/; 
    		var phone = /^[0-9_]{1,}$/;
    		
    		if(username.value.length == 0)
    		{
					alert(msg +"username can't be blank!\n");
					return false;
    		}
    		
			if (!username.value.match(usern)) {

                msg += "username must use characters and numbers\n";

                alert(msg);

                username.value = '';

                username.focus();

                return false;

            } 
    		
    		if(password.value.length < 3)
    		{
    			
    			alert(msg +"length of password is invalid!\n");
    			return false;
    		}
    		
    		if(repassword.value.length < 3)
    		{
    			alert(msg +"length of repassword is invalid!\n");
    			return false;
    		}
    		
    		if(password.value != repassword.value)
    		{
    			alert(msg + "password not the same\n");
    			return false;
    		}
    		
    		if (!telephone.value.match(phone)) {

                msg += "phone number must use numbers\n";

                alert(msg);

                telephone.value = '';

                telephone.focus();

                return false;

            } 
 
     		var nodes = document.getElementsByTagName("input");
    		for(var i = 0; i < nodes.length; i++)
    		{
    			if(nodes[i].value.length == 0)
    			{
					alert(msg + nodes[i].name +" can't be blank!\n");
					return false;
    			}
    		}
 
    		return true;
    	}
    
    
    </script>
        
    </head>
    <body>
       	<%@include file="/_beforeLoginHead.jsp"%>

        <div class="container">

            <!-- Main hero unit for a primary marketing message or call to action -->
            <div class="hero-unit">
                <h1>Get start with us</h1> <br>
                
               	<font color=ff2d2d size="3"> &nbsp;User name has been used. Please use another one</font><br>
               	<font color=ea0000 size="2"> *</font> &nbsp; <font color=5b5b5b size="2"> necessary area</font> 
                
                <form onsubmit="return validate()" class="navbar-form"  action="RequestProcess" method="post"   enctype="multipart/form-data">
                  	
                  	<table>
                  	
                  		<tr>
                			<td><font color=ea0000 size="2"> *</font></td>
                			<td> User Name </td>
                			<td><input class="span3" type="text" name="username" > </td>
                			<td> <font color=7b7b7b size="2"> &nbsp;Use at least 1 characters (letters, numbers, periods, underscores, dashes only).</font> </td>
                		</tr>
                		<tr>
                			<td><font color=ea0000 size="2"> *</font></td>
                			<td> Password </td>
                			<td><input class="span3" type="password" name="password" > </td>
                			<td> <font color=7b7b7b size="2"> &nbsp;Use at least 3 characters.</font></td>
                		</tr>
                		<tr>
                			<td><font color=ea0000 size="2"> *</font></td>
                			<td> RePassword </td>
                			<td><input class="span3" type="password" name="repassword" > </td>
                		</tr>
                  			<tr>
                			<td><font color=ea0000 size="2"> *</font></td>
                			<td> Nickname </td>
                			<td><input class="span3" type="text" name="name" > </td>
                		</tr>
                		<tr>
                			<td><font color=ea0000 size="2"> *</font></td>
                			<td> Telephone </td>
                			<td><input class="span3" type="tel" name="telephone"> </td>
                			<td> <font color=7b7b7b size="2">&nbsp;Must use numbers.</font></td>
                		</tr>
                		<tr>
                			<td><font color=ea0000 size="2"> *</font></td>
                			<td> Address </td>
                			<td><input class="span3" type="text" name="address" ></td>
                		</tr>
                		<tr>
                			<td><font color=ea0000 size="2"> *</font></td>
                			<td> Email </td>
                			<td><input class="span3" type="email" name="email"></td>
                		</tr>
                  	
                  	</table>
                              
                    
                    <input type="hidden" name="type" value="register"> 
                     
                    
                    <br>
					<div class="agsp rcl">
					<b>By clicking "Submit" I agree that:</b><ul>
						<li>I have read and accepted the User Agreement and Privacy Policy.</li>
						<li>I may receive communications from the web site and can change my notification preferences.</li>
						<li>I am at least 18 years old.</li>
						</ul>
					</div>
                     
                    <button type="submit" class="btn btn-primary">Submit</button>
                </form>                
                
            </div>

            <!-- Example row of columns -->


            <hr>

        </div> <!-- /container -->

        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
        <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.9.1.min.js"><\/script>')</script>

        <script src="js/vendor/bootstrap.min.js"></script>

        <script src="js/main.js"></script>

        <script>
            var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
            (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
            g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
            s.parentNode.insertBefore(g,s)}(document,'script'));
        </script>
    </body>
</html>
 